/**
 * Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
 * 
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * 
 *     http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 **/

.wishlist-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.wishlist-title {
  font-size: 2rem;
  color: #333;
  margin-bottom: 2rem;
  text-align: center;
  border-bottom: 2px solid #e91e63;
  padding-bottom: 0.5rem;
}

.wishlist-items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.wishlist-item {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wishlist-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.wishlist-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  cursor: pointer;
}

.wishlist-details {
  padding: 1rem;
}

.wishlist-name {
  font-size: 1.2rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.5rem;
}

.wishlist-price {
  font-size: 1.1rem;
  color: #e91e63;
  font-weight: 600;
  margin-bottom: 1rem;
}

.remove-from-wishlist {
  background-color: #f44336;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 8px 16px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.remove-from-wishlist:hover {
  background-color: #d32f2f;
}

.empty-wishlist {
  text-align: center;
  padding: 3rem 1rem;
  color: #757575;
  font-size: 1.2rem;
}

.browse-products-btn {
  background-color: #4CAF50;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 10px 20px;
  font-size: 1rem;
  cursor: pointer;
  margin-top: 1.5rem;
  transition: background-color 0.3s ease;
}

.browse-products-btn:hover {
  background-color: #45a049;
}

@media (max-width: 768px) {
  .wishlist-items {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }
}

@media (max-width: 480px) {
  .wishlist-items {
    grid-template-columns: 1fr;
  }
}